home *** CD-ROM | disk | FTP | other *** search
/ The Dynamic Human Version 2.0 / DH2_CD2.ISO / pc / data1.cab / Program_Executable_Files / switch.dxr / 00021_start & stop movie & initialization scripts.ls < prev    next >
Encoding:
Text File  |  1998-09-29  |  438 b   |  26 lines

  1. on startMovie
  2.   global cd
  3.   if not (the platform contains "windows") then
  4.     if voidp(cd) then
  5.       initStuff()
  6.       ECDCTRLInit(0)
  7.     end if
  8.   end if
  9. end
  10.  
  11. on stopMovie
  12.   if not (the platform contains "windows") then
  13.     ECDCTRLDestroy()
  14.   end if
  15. end
  16.  
  17. on initStuff
  18.   global gDir
  19.   if the platform contains "windows" then
  20.     set addChar to "\"
  21.   else
  22.     set addChar to ":"
  23.   end if
  24.   set gDir to the pathName & "xtras" & addChar
  25. end
  26.